<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="Info.CustomerInfo"%>
<%@page import="java.util.List"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改顾客信息</title>
<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>
</head>
<body>
<div class="loginleft fl">
		<div class="login_title">
			<h2>
				<p align="center">修改顾客信息
			</h2>
			<hr>
			<p align="center"></p>
		</div>
		<form name="form1" method="post" action="UpdateCustomerS">
			<%
				CustomerInfo c = (CustomerInfo) request.getAttribute("c");
			%>
	<div class="biaodani">
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;&nbsp;ID：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label> 
					<input type="text" name="cid" readonly="readonly" value="<%=c.getCid()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;姓&nbsp;&nbsp;&nbsp;名：&nbsp;&nbsp;&nbsp;&nbsp;</label>
				    <input type="text" name="name" value="<%=c.getName()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;性&nbsp;&nbsp;&nbsp;别：&nbsp;&nbsp;&nbsp;&nbsp;</label> 
					<input type="text" name="sex" readonly="readonly" value="<%=c.getSex()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;龄：&nbsp;&nbsp;&nbsp;&nbsp;</label> 
					<input type="text" name="age"  value="<%=c.getAge()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;国&nbsp;&nbsp;&nbsp;籍：&nbsp;&nbsp;&nbsp;&nbsp;</label> 
					<input type="text" name="nationality" readonly="readonly" value="<%=c.getNationality()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>身份证号：&nbsp;&nbsp;</label> 
					<input type="text" name="card" readonly="readonly" value="<%=c.getCard()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>联系方式：&nbsp;&nbsp;</label> 
					<input type="text" name="phone"  value="<%=c.getPhone()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;&nbsp;房间号：&nbsp;&nbsp;&nbsp;</label> 
					<input type="text" name="roomId" value="<%=c.getRoomId()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>入住时间：&nbsp;&nbsp;</label> 
					<input type="text" name="intoTime" value="<%=c.getIntoTime()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>离开时间：&nbsp;&nbsp;</label> 
					<input type="text" name="outTime" value="<%=c.getOutTime()%>">
			</div>
		    <div class="login_btn">
			  <p align="center">
				&nbsp;&nbsp;&nbsp;&nbsp; 
				<input name="login" type="submit" class="input-8" value="修改"> 
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<input name="重置" type="reset" class="submitbutton" id="submit_button" value="重置">
		    </div>
	</div>
</form>
</div>
</body>
</html>